package com.woniuxy.oldobject.entity;

/**
 * @Author： Brian
 * @Todo： 楼层实体类
 * @Date： 2022/7/21 11:28
 * @Version： 1.0
 */
public class Level extends BaseEntity {
    private static final long serialVersionUID = 1L;

    private Long id;

    /**
     * 楼层管理
     */
    private String level;

    /**
     * 关联的房间数
     */
    private Long roomAmount;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public String getLevel() {
        return level;
    }

    public void setRoomAmount(Long roomAmount) {
        this.roomAmount = roomAmount;
    }

    public Long getRoomAmount() {
        return roomAmount;
    }

    @Override
    public String toString() {
        return "Level{" +
                "id=" + id +
                ", level='" + level + '\'' +
                ", roomAmount=" + roomAmount +
                '}';
    }
}
